boolify is disabling the agent

Judy Ngai 9 年之前
父节点
当前提交
0a4b3b719b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/models/agents/twitter_user_agent.rb

+ 1 - 1
app/models/agents/twitter_user_agent.rb

@@ -85,7 +85,7 @@ module Agents
85 85
     end
86 86
 
87 87
     def choose_home_time_line?
88
-      boolify(interpolated[:choose_home_time_line]) == "true"
88
+      interpolated[:choose_home_time_line] == "true"
89 89
     end
90 90
 
91 91
     def include_retweets?